package com.blue.alipay.contants;

/**
 * @描述
 * @时间 2017-9-26 20:43
 * @作者 肖亦鸣
 */
public class WeXinConfig {
    public static String notify_url = "http://www.huoligame.com/alipay/wx_wappay/notify_url.html";
    public static String return_url = "http://www.huoligame.com/alipay/wx_wappay/return_url.html";
    /**
     * APPID(微信审核通过的应用APPID)(公众号支付和app支付不同)app:wx9209fd8ba85ff604
     */
    public static String appId = "wxb843e26be941998f";
    /**
     * 用户标识
     */
    public static String openId = "o2gSiuBkMm6UsEwQBRrHeQaLfN_Y";

    /**
     * 开放平台的APPID, 用于App支付
     */
    public static String appId_open = "wx9209fd8ba85ff604";
    /**
     * 公众号的APPID, 用于公众号支付和扫码支付
     */
    public static String appId_pub = "wxb843e26be941998f";

    /**
     * 微信商户号
     */
    public static String mchId = "1289613701";
    /**
     * 密钥(是APPID对应的接口密码，用于获取接口调用凭证access_token时使用。)(公众号支付和app支付不同)
     */
    public static String appSecret = "";
    /**
     * 微信合作秘钥，用来加签
     */
    public static String parterKey = "431a1ea3726c0dda18914e018bbc898a";

    /**
     * 证书路径(退款需要)
     */
    public static String apiclientCertPath = "C:/opt/dsf/service/deploy/payplatform/config/cert/newwxpay/apiclient_cert.p12\n";

    /**
     * 用于小程序支付
     */
    public static String appId_xcx = "wx9b967cd789900eb1";
    public static String mchId_xcx = "1303459501";
    public static String parterKey_xcx = "431a1ea3726c0dda18914e018bbc898a";
    public static String apiclientCertPath_xcx = "";

    /**
     * 微信合作秘钥，用来加签
     */
    public static String channelUnit = "FEN";

    /**
     * 微信合作秘钥，用来加签
     */
    public static String charset = "UTF-8";


    /**
     * 统一下单
     */
    public static final String API_UNIFIEDORDER = "https://api.mch.weixin.qq.com/pay/unifiedorder";
    /**
     * 申请退款
     */
    public static final String API_REFUND = "https://api.mch.weixin.qq.com/secapi/pay/refund";
    /**
     * 查询订单
     */
    public static final String API_ORDERQUERY = "https://api.mch.weixin.qq.com/pay/orderquery";
    /**
     * 查询退款
     */
    public static final String API_REFUNDQUERY = "https://api.mch.weixin.qq.com/pay/refundquery";
    /**
     * 下载对账单
     */
    public static final String API_DOWNLOADBILL = "https://api.mch.weixin.qq.com/pay/downloadbill";


    public static final String API_NOTIFY = "https://gw.tenpay.com/gateway/verifynotifyid.xml";

    public static final String API_OAUTH2 = "https://open.weixin.qq.com/connect/oauth2/authorize";
}
